// 字体图标 url
const cssCdnUrlList = ['//at.alicdn.com/t/font_2348547_zjuiclx86c.css'];

// 动态设置字体图标
export function setCssCdn () {
	if (cssCdnUrlList.length <= 0) return false;
	cssCdnUrlList.map((v) => {
		let link = document.createElement('link');
		link.rel = 'stylesheet';
		link.href = v;
		link.crossOrigin = 'anonymous';
		document.getElementsByTagName('head')[0].appendChild(link);
	});
}

// 设置执行函数
const setIntroduction = {
	cssCdn: () => {
		setCssCdn();
	}
};

// 导出函数方法
export default setIntroduction;
